﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">	
	<title></title>
	<script src="<%= Url.Content("~/Scripts/jquery-1.7.1.js") %>" type="text/javascript"></script>
	<script src="<%= Url.Content("~/Scripts/helloWorld-movie.js") %>" type="text/javascript"></script>
	<script>
		$(document).ready(function(){
			helloWorld.movie.init();
		});
	</script>
</head>
<body>
	<div>
		<%= Html.DropDownList("Movies") %>
	</div>
	<div>
		<input id="btn_new_movie" type="button" value="new movie list" />
	</div>
	<div id="div_movie_details_area">
		<table>
		<tr>
			<td><span>Movie ID</span></td><td><input id="ipt_movie_id" type="text" /></td>
			<td><span>Movie Title</span></td><td colspan="3"><input id="ipt_movie_title" type="text" /></td>
		</tr>
		<tr>
			<td><span>Realease Date</span></td><td><input id="ipt_movie_rdate" type="text" /></td>
			<td><span>Genre</span></td><td><input id="ipt_movie_genre" type="text" /></td>
			<td><span>Price</span></td><td><input id="ipt_movie_price" type="text" /></td>
		</tr>
		</table>
		<table>
		<tr>
			<td>
				<input id="btn_basket_movie" type="button" value="basket movie" />
				<input id="btn_insert_movie" type="button" value="insert movie" />
				<input id="btn_insert_movie_list" type="button" value="insert all of movies" />			
			</td>
			<td>
				<span>current movies number in basket is: </span>
				<span id="span_current_mv_number">0</span>
			</td>
		</tr>
		</table>
		
	</div>
</body>
